package com.example.springbootmybatisdemo.dao;

import com.example.springbootmybatisdemo.model.ShiroUser;

public interface ShiroUserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ShiroUser record);

    int insertSelective(ShiroUser record);

    ShiroUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ShiroUser record);

    int updateByPrimaryKey(ShiroUser record);

    // 根据用户名查询用户
    ShiroUser queryByUserName(String userName);
}